package com.wanmait.houlang.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.houlang.mapper.GradeTypeMapper;
import com.wanmait.houlang.pojo.GradeType;
import com.wanmait.houlang.service.GradeTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GradeTypeServiceImpl implements GradeTypeService {

    @Resource
    private GradeTypeMapper gradeTypeMapper;
    @Override
    public void insert(GradeType object) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void delete(String ids) {

    }

    @Override
    public void update(GradeType object) {

    }

    @Override
    public GradeType findById(Integer id) {
        return null;
    }

    @Override
    public List<GradeType> findAll() {
        return null;
    }

    @Override
    public PageInfo<GradeType> findAll(int pageNum, int pageSize, GradeType object) {
        return null;
    }

    @Override
    public List<GradeType> findByYear(Integer year) {
        return gradeTypeMapper.findByYear(year);
    }
}
